import $i18n from "/src/components/node-kantboot/libs/i18n";

const columns=[
    {
        label: "ID",
        field: "id",
        type: "number",
        isSort: true,
        orderBy: "desc",
        isId: true,
        isSearch: false,
        isEdit: false,
        isHide: true,
        searchSetting: {
        }
    },
    {
        // label: "名称",
        label: $i18n.enToGlobal("name"),
        field: "name",
        type: "text",
        width: "200px",
        // 是否可编辑
        isEdit: true,
        isSearch: true,
        isAdd: true,
    },
    {
        // label: "分组编码",
        label: $i18n.enToGlobal("group code"),
        field: "groupCode",
        type: "text",
        width: "200px",
        // 是否可编辑
        isEdit: true,
        isSearch: true,
        isAdd: true,
    },
    {
        // label: "编码",
        label: $i18n.enToGlobal("code"),
        field: "code",
        type: "text",
        width: "200px",
        // 是否可编辑
        isEdit: true,
        isSearch: true,
        isAdd: true,
    },
    {
        // label: "值",
        label: $i18n.enToGlobal("value"),
        field: "value",
        type: "text",
        width: "200px",
        // 是否可编辑
        isEdit: true,
        isSearch: true,
        isAdd: true,
    },
    {
        // label: "描述",
        label: $i18n.enToGlobal("description"),
        field: "description",
        type: "text",
        width: "200px",
        // 是否可编辑
        isEdit: true,
        isSearch: true,
        isAdd: true,
    },
    {
        // label: "优先级",
        label: $i18n.enToGlobal("priority level"),
        field: "priority",
        type: "number",
        width: "200px",
        // 是否可编辑
        isEdit: true,
        isSearch: true,
        isAdd: true,
    }

]

export default columns